import request from "../utils/request"
export const getVideoApi = (id) => {
    return request({
        url: "/video/" + id,
        method: "get",
    })
}


export const getVideoListApi = (id) => {
    return request({
        url: "/videos",
        method: "get",
        params: {
            deviceid: id,
        }
    })
}